﻿using System.Windows.Controls;
using Mammoth.Factories;

namespace Mammoth.Views.Transaction
{
    /// <summary>
    /// Interaction logic for OrderView.xaml
    /// </summary>
    public partial class TransactionView : UserControl
    {
        public TransactionView(ITypeFactory viewFactory)
        {
            InitializeComponent();
            ValasList.Children.Add(viewFactory.Create<ValastList>());
            OrderList.Children.Add(viewFactory.Create<OrderList>());
        }
    }
}
